package com.lex.entity.menu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "MenuRouter", description = "返回给前端的菜单路由实体类")
public class MenuRouterVo {
    @Schema(description = "菜单path")
    private String path;
    @Schema(description = "菜单名称")
    private String name;
    @Schema(description = "菜单组件")
    private String component;
    @Schema(description = "菜单meta")
    private MetaVo meta;
    @Schema(description = "菜单子菜单")
    private List<MenuRouterVo> children;
}
